package com.webside.videoresource.service;

import java.util.List;
import java.util.Map;

import com.webside.util.PageUtil;
import com.webside.videoresource.model.VideoResourceEntity;

public interface VideoResourceService{
	
	 
	 
	public List<VideoResourceEntity> queryListByPage(Map<String, Object> parameter);
	public VideoResourceEntity findByName(String name);
	
	public VideoResourceEntity findById(Long id);

	public int update(VideoResourceEntity videoResourceIds);
    
    public int deleteBatchById(List<Long> videoResourceIds);
    
    public int insert(VideoResourceEntity videoResourceEntity);
    //查询全部
    public List<VideoResourceEntity>selectall(int count,String sort);
    //根据条件查询list
    public List<VideoResourceEntity>findListByName(PageUtil pageUtil,String sort);
}
